package com.suep.data_analysis.mapper;
import com.suep.data_analysis.dto.ArmamentDto;
import com.suep.data_analysis.model.Armament;
import org.mapstruct.Mapper;
import java.util.Collection;

@Mapper
public interface ArmamentMapper {
    // Armament → ArmamentDto
    ArmamentDto toArmamentDto(Armament armament);

    // 批量转换Armament
    Collection<ArmamentDto> toArmamentDto(Collection<Armament> armaments);
}